package com.googlecode.ozonbooksfinder.cairngormfinder.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.googlecode.ozonbooksfinder.cairngormfinder.control.CairngormFinderController;
	import com.googlecode.ozonbooksfinder.domain.Book;
	
	import flash.events.Event;

	public class GetBookInfoEvent extends CairngormEvent
	{
		public var book:Book;
		
		public function GetBookInfoEvent(book:Book)
		{
			super(CairngormFinderController.EVENT_GET_BOOK_INFO);
		 	this.book = book;
		}
		
		override public function clone():Event
		{
			return new GetBookInfoEvent(book);
		}
	}
}